﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CommerceOne.Domains.Entities;

namespace CommerceOne.Domains.SqlRepositories
{
    public class SqlCountryRepository : ICountryRepository
    {
        private  readonly EfDbContext _context = new EfDbContext();

        /// <summary>
        /// Alls this instance.
        /// </summary>
        /// <returns></returns>
        public List<Country> All()
        {
            return this._context.Countries.ToList();
        }

    }
}
